package com.atguigu.tingshu.album.service;

import com.atguigu.tingshu.model.album.BaseAttribute;
import com.atguigu.tingshu.model.album.BaseCategory1;
import com.atguigu.tingshu.vo.album.AlbumCategoryVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface BaseCategoryService extends IService<BaseCategory1> {

    // 查询所有的分类数据
    public abstract List<AlbumCategoryVo> getBaseCategoryList();

    // 根据一级分类ID查询专辑属性和属性值
    public abstract List<BaseAttribute> findAttributeByCategoryId(Long categoryId);

}
